<block name="header">
    <header class="jumbotron subhead" id="overview" style='background-color: #2C3E50;color: #fff;text-align: center;'>
        <div class="container" >
            <div class="col-sm-3">
                帐号余额 
                <div style="font-size: 30pt;padding:10px;">{:get_member_balance(session('user_auth.uid'))}</div>         

            </div>
            <div class="col-sm-3">
                仓库货物
                <div style="font-size: 30pt;padding:10px;">{:get_warehousepackage_count(session('user_auth.uid'))}</div>         

            </div>
            <div class="col-sm-3">
                转运途中
                <div style="font-size: 30pt;padding:10px;">{:get_orderstatus_count(session('user_auth.uid'),6000)}</div>        
            </div>
            <div class="col-sm-3">
                安全到达
                <div style="font-size: 30pt;padding:10px;">{:get_orderstatus_count(session('user_auth.uid'),7000)}</div>        
            </div>
            <!-------快捷导航----->
            <div style="position:  absolute;top: 264px;" >
                <ul class="nav nav-tabs" id='headerNav' role="tablist">
                    <li role="presentation" <eq name='nvazhi' value='1'> class="active"</eq>><a href="{:U('Center/index')}">预报</a></li>
                    <li role="presentation" <eq name='nvazhi' value='2'> class="active"</eq>><a href="{:U('Center/warehouse','CID=-1')}">仓库</a></li>
                    <li role="presentation" <eq name='nvazhi' value='3'> class="active"</eq>><a href="{:U('Center/order')}">订单</a></li>
                  <li role="presentation" <eq name='nvazhi' value='4'> class="active"</eq>><a href="{:U('Center/accountdetail')}">财务</a></li>
                </ul>
            </div>
        </div>

    </header>



</block>

<div id="main-container" class="container">
    <block name="body"></block>
</div>

<script type="text/javascript">
    $(function() {
        $(window).resize(function() {
            $("#main-container").css("min-height", $(window).height() - 383);
        }).resize();
    })
</script>